package com.example.springboot3;

import com.example.springboot3.filter.LoginFilter;
import org.springframework.boot.SpringBootConfiguration;

/**
 * @author 张琪
 * @date 2024-02-21 15:28
 */
@SpringBootConfiguration
public class WebConfig {

    /**
     * 注入登陆过滤器
     */
    // @Bean
    public LoginFilter loginFilter() {
        return new LoginFilter();
    }
}
